package com.aaa.ssm.service;

import com.aaa.ssm.entity.Order;
import com.aaa.ssm.entity.Registration;

import java.util.Map;

/**
 * @ fileName:OrderService
 * @ description:
 * @ author:zhz
 * @ createTime:2023/10/16 9:17
 * @ version:1.0.0
 */
public interface OrderService {

    /**
     * 生成二维码
     * @param order
     * @return
     */
    Map getNativeByOrder(Order order);
    Map getNativeByOrder(Registration registration);


    /**
     * 查看支付状态
     * @param orderId
     * @return
     */
    Map getPayStatus(String orderId);
}
